using System;
using System.Collections.Generic;
using System.Text;

namespace Dogfight2008
{
public class Countdown
{
  double time;

  public Countdown(double time)
  {
    if (time < 0)
      throw new Exception();

    this.time = time;
  }

  public bool Stopped
  {
    get
    {
      return time <= 0;
    }
  }

  public void Tick(double deltaTime)
  {
    time -= deltaTime;
  }
}
}
